#ifndef _TYPES_H_
#define _TYPES_H_

typedef unsigned char         U8;
typedef char                  S8;
typedef unsigned short        U16;
typedef short                 S16;
typedef unsigned int          U32;
typedef int                   S32;
typedef unsigned long long    U64;
typedef long long             S64;
typedef float                 F32;
typedef double                F64;
typedef volatile unsigned int VU32;

#ifndef NULL
#    define NULL ((void*)0)
#endif

#ifndef TRUE
#    define TRUE (1)
#endif

#ifndef FALSE
#    define FALSE (0)
#endif

#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))

#endif
